﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Yqd.Models
{
    public class Yqd_Street
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int StreetID { get; set; }

        [Required(ErrorMessage = "请输入镇街名称")]
        [StringLength(200)]
        public string Name { get; set; }

        [DisplayName("说明")]
        public string Remark { get; set; }

        public int Tactic { get; set; }

        [DisplayName("创建时间")]
        public DateTime Instime { get; set; }

        [DisplayName("创建者")]
        public long Creator { get; set; }
    }
}
